
<!DOCTYPE html>
<html>
    <head>
        <title>Bootstrap 模板</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <script src="js/jquery-1.11.1.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/bootstrap-filestyle.js"></script>
        <!--[if lt IE 9]>
            <script src="js/html5shiv.js"></script>
            <script src="js/respond.min.js"></script>
        <![endif]-->
    </head>
    <style>
    	body{ padding-top:70px; }
    </style>
    <body>
	    <div class="container">
	    	<div class="row">
	    		<div class="col-xs-4 col-xs-offset-4">
	    			<form action="test.php" method="post" enctype="multipart/form-data">
						<input name="img" type="file" class="filestyle" data-buttonBefore="true" data-buttonText="选择文件" /><br />
						<button type="submit">上传</button>
					</form>
	    		</div>
	    	</div>
	    </div>
    </body>
</html>